Skip to main content

resizeRectForImg

Type

handler

Summary

Resize a rectangle to make an image to fit proportionally

Syntax

resizeRectForImg(<pImage>,<pRect>,<pResizeType>)

Description

Resize a rectangle to make an image to fit proportionally

note

This handler is for internal use.

Parameters

NameTypeDescription

pImage

Image pRect: Rectangle pAlign: The alignment to use pResizeType: Type of resize to fit the image